import request from '@/utils/request'

// 查询国家政策信息列表
export function listNationalPolicy(query) {
  return request({
    url: '/business/nationalPolicy/list',
    method: 'get',
    params: query
  })
}

// 查询国家政策信息详细
export function getNationalPolicy(id) {
  return request({
    url: '/business/nationalPolicy/' + id,
    method: 'get'
  })
}

// 新增国家政策信息
export function addNationalPolicy(data) {
  return request({
    url: '/business/nationalPolicy',
    method: 'post',
    data: data
  })
}

// 修改国家政策信息
export function updateNationalPolicy(data) {
  return request({
    url: '/business/nationalPolicy',
    method: 'put',
    data: data
  })
}

// 删除国家政策信息
export function delNationalPolicy(id) {
  return request({
    url: '/business/nationalPolicy/' + id,
    method: 'delete'
  })
}


